import request from "@/utils/request";

/**
 * 分页查询用户
 */
export const pageQueryUser = async (params: any) => {
  return request.get("/user/page", {
    params,
  });
}

export const updateUser = async (params: any) => {
  return request.post("/user/update", params, {
    headers: {
      "Content-Type": "application/json",
    },
  });
}
